From 1100562e29f6476448b656dbddd4cf22505523f6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 10 Mar 2024 14:59:14 +0100 Subject: Move back to JBMAFP --- .github/workflows/deploy.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/deploy.yaml (limited to '.github/workflows') 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 @@ +name: Build and Deploy to Pages + +on: + push: + branches: ["master"] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Run a multi-line script + run: | + wget https://github.com/mitjafelicijan/jbmafp/releases/download/v0.1/jbmafp.zip + unzip jbmafp.zip + chmod +x jbmafp + ./jbmafp -b + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: './public' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 -- cgit v1.2.3