diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-02-04 20:56:19 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-02-04 20:56:19 +0100 |
| commit | f749dcb101e429db64aac38a7c1ed11d7e3b02cb (patch) | |
| tree | 18e703e75f2d3b476d32058386643779628c5477 /.github | |
| parent | 9e085a0879680d0752ee7ac5bd9ecbe067b1505a (diff) | |
| download | mitjafelicijan.com-f749dcb101e429db64aac38a7c1ed11d7e3b02cb.tar.gz | |
Upgraded deployment
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/deploy.yaml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 4a42950..72e9ecb 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml | |||
| @@ -15,17 +15,10 @@ concurrency: | |||
| 15 | cancel-in-progress: false | 15 | cancel-in-progress: false |
| 16 | 16 | ||
| 17 | jobs: | 17 | jobs: |
| 18 | deploy: | 18 | build: |
| 19 | environment: | ||
| 20 | name: github-pages | ||
| 21 | url: ${{ steps.deployment.outputs.page_url }} | ||
| 22 | runs-on: ubuntu-latest | 19 | runs-on: ubuntu-latest |
| 23 | steps: | 20 | steps: |
| 24 | - name: Checkout | 21 | - name: Get JBMAFP and build |
| 25 | uses: actions/checkout@v3 | ||
| 26 | - name: Setup Pages | ||
| 27 | uses: actions/configure-pages@v3 | ||
| 28 | - name: Run a multi-line script | ||
| 29 | run: | | 22 | run: | |
| 30 | wget https://github.com/mitjafelicijan/jbmafp/releases/download/v0.3/jbmafp.zip | 23 | wget https://github.com/mitjafelicijan/jbmafp/releases/download/v0.3/jbmafp.zip |
| 31 | unzip jbmafp.zip | 24 | unzip jbmafp.zip |
| @@ -35,6 +28,13 @@ jobs: | |||
| 35 | uses: actions/upload-pages-artifact@v3 | 28 | uses: actions/upload-pages-artifact@v3 |
| 36 | with: | 29 | with: |
| 37 | path: './public' | 30 | path: './public' |
| 31 | |||
| 32 | deploy: | ||
| 33 | environment: | ||
| 34 | name: github-pages | ||
| 35 | url: ${{ steps.deployment.outputs.page_url }} | ||
| 36 | runs-on: ubuntu-latest | ||
| 37 | steps: | ||
| 38 | - name: Deploy to GitHub Pages | 38 | - name: Deploy to GitHub Pages |
| 39 | id: deployment | 39 | id: deployment |
| 40 | uses: actions/deploy-pages@v2 | 40 | uses: actions/deploy-pages@v4 |
