Skip to content

Commit

Permalink
build: use blogc/setup-blogc. upgrade actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelmartins committed May 21, 2024
1 parent 58c2d0d commit 7519098
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install blogc
run: |
echo "deb [trusted=yes] https://deb.rgm.io/blogc $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/blogc.list
sudo apt-get update -y
sudo apt-get install -y blogc-make
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v1
uses: actions/configure-pages@v5

- name: Setup blogc
uses: blogc/setup-blogc@v1
with:
blogc-version: HEAD

- name: Build
run: blogc-make

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./_build

Expand All @@ -52,5 +51,5 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit 7519098

Please sign in to comment.