From ec823ade14cf217d1d168391dc0a2586fa92d530 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Mon, 19 Sep 2022 22:35:56 +0200 Subject: [PATCH] do everything in one step --- .github/workflows/deploy.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 55e89416..86b47ed2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,22 +27,16 @@ jobs: - name: Build run: npm run build - deploy: - needs: build - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 + - name: Setup Pages uses: actions/configure-pages@v2 + - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: # Upload entire repository path: "./out" + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1