From f749dcb101e429db64aac38a7c1ed11d7e3b02cb Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 4 Feb 2025 20:56:19 +0100 Subject: Upgraded deployment --- .github/workflows/deploy.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to '.github/workflows/deploy.yaml') 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: cancel-in-progress: false jobs: - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} + build: 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 + - name: Get JBMAFP and build run: | wget https://github.com/mitjafelicijan/jbmafp/releases/download/v0.3/jbmafp.zip unzip jbmafp.zip @@ -35,6 +28,13 @@ jobs: uses: actions/upload-pages-artifact@v3 with: path: './public' + + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 -- cgit v1.2.3