Skip to content

Open external links in new tab #141

Open external links in new tab

Open external links in new tab #141

Workflow file for this run

name: github pages
on:
push:
branches:
- gh-pages
pull_request:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Zola
run: |
wget "https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz"
sudo tar xzf ./zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz
- name: Build
run: "export CURRENT_TIME=$(date '+%d %B %Y'); ./zola build"
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/gh-pages' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: zola-build
cname: www.arewewebyet.org