aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
new file mode 100644
index 0000000..de81bd3
--- /dev/null
+++ b/.github/workflows/deploy.yaml
@@ -0,0 +1,40 @@
1name: Build and Deploy to Pages
2
3on:
4 push:
5 branches: ["master"]
6 workflow_dispatch:
7
8permissions:
9 contents: read
10 pages: write
11 id-token: write
12
13concurrency:
14 group: "pages"
15 cancel-in-progress: false
16
17jobs:
18 deploy:
19 environment:
20 name: github-pages
21 url: ${{ steps.deployment.outputs.page_url }}
22 runs-on: ubuntu-latest
23 steps:
24 - name: Checkout
25 uses: actions/checkout@v3
26 - name: Setup Pages
27 uses: actions/configure-pages@v3
28 - name: Run a multi-line script
29 run: |
30 wget https://github.com/mitjafelicijan/jbmafp/releases/download/v0.1/jbmafp.zip
31 unzip jbmafp.zip
32 chmod +x jbmafp
33 ./jbmafp -b
34 - name: Upload artifact
35 uses: actions/upload-pages-artifact@v2
36 with:
37 path: './public'
38 - name: Deploy to GitHub Pages
39 id: deployment
40 uses: actions/deploy-pages@v2