Skip to content

Removed address information from contact.md #34

Removed address information from contact.md

Removed address information from contact.md #34

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.91.2'
# extended: true
- name: Build
run: hugo --minify
- name: Deploy to matthewgall.github.io
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
external_repository: matthewgall/matthewgall.github.io
personal_token: ${{ secrets.PERSONAL_TOKEN }}
publish_dir: ./public
cname: matthewgall.com
- name: Deploy to matthewgall.surge.sh
uses: dswistowski/surge-sh-action@v1
with:
domain: 'matthewgall.surge.sh'
project: './public'
login: ${{ secrets.SURGE_LOGIN }}
token: ${{ secrets.SURGE_TOKEN }}
- name: Deploy to wasabisys.com
uses: mchangrh/s3-sync-action@v1
with:
args: --acl-public --follow-symlinks --delete-removed --no-preserve
env:
S3_BUCKET: ${{ secrets.S3_BUCKET }}
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_ACCESS_KEY_SECRET: ${{ secrets.S3_ACCESS_KEY_SECRET }}
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
S3_REGION: 'eu-central-1'
SOURCE_DIR: 'public/'
- name: Install flyctl to prepare for matthewgall.fly.dev deploy
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy to matthewgall.fly.dev
run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}