Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
cleanup deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
h.u.g.u.rp committed Nov 5, 2023
1 parent 30389d8 commit 4122d37
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/publish-github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,13 @@ jobs:
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
- uses: actions/setup-node@v2
with:
node-version: "16.x"
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm install
- run: npm run build
- run: rm dist/.env.json
- run: mv dist/.env.production.json dist/.env.json
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
- uses: actions/upload-pages-artifact@v1
with:
path: "./dist"
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit 4122d37

Please sign in to comment.