Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjameson committed May 20, 2024
1 parent 31c76ac commit 33168c5
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
id-token: write

jobs:
checkout:
checkout-build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout project repository
Expand All @@ -29,10 +29,6 @@ jobs:
ref: "main"
token: ${{ secrets.PA_TOKEN }}

build:
needs: checkout
runs-on: ubuntu-latest
steps:
- name: npm install
working-directory: "./client"
run: npm install
Expand All @@ -50,13 +46,9 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
env:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

0 comments on commit 33168c5

Please sign in to comment.