Skip to content

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #6

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #6

name: build_and_deploy
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Build via docker
run: make dockerbuild
- name: Upload web build artifact
uses: actions/upload-artifact@v2
with:
name: web_build
path: out/web/
release:
name: Release & Deploy
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v4.1.7
with:
name: web_build
path: web/
- uses: JamesIves/github-pages-deploy-action@v4.2.2
with:
branch: gh-pages
folder: web/