aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/deploy.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/deploy.yaml')
-rw-r--r--.github/workflows/deploy.yaml20
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
17jobs: 17jobs:
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