Skip to content

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

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 #29

Workflow file for this run

name: Deployment example
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: "pages"
cancel-in-progress: true
permissions:
contents: read
pages: write
deployments: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download Rumage
run: |
wget https://github.com/notangelmario/rumage/releases/latest/download/rumage-x86_64-unknown-linux-gnu.tar.gz
tar -xf rumage-x86_64-unknown-linux-gnu.tar.gz
- name: Install Rumage
run: |
sudo install ./rumage /usr/bin
- name: Build
run: rumage build -s example -b build -r /rumage
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './build'
deploy:
needs: build
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@v1