Add aside element to header #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD -> Build and deploy | |
on: | |
push: | |
branches: [master, dev] | |
concurrency: | |
group: deploy | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
name: π Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Checkout | |
uses: actions/checkout@v2 | |
with: | |
lfs: true | |
- name: π¨ Build | |
run: ./build-gallery.sh | |
- name: π SFTP Sync (PROD) | |
uses: burnett01/[email protected] | |
if: endsWith(github.ref, '/master') | |
with: | |
switches: -vzr --delete | |
path: src/ | |
remote_path: ${{ secrets.SSH_REMOTE_DIR }} | |
remote_host: ${{ secrets.SSH_SERVER }} | |
remote_user: ${{ secrets.SSH_USERNAME }} | |
remote_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: π SFTP Sync (DEV) | |
uses: burnett01/[email protected] | |
if: endsWith(github.ref, '/dev') | |
with: | |
switches: -vzr --delete | |
path: src/ | |
remote_path: ${{ secrets.SSH_REMOTE_DIR_STAGING }} | |
remote_host: ${{ secrets.SSH_SERVER }} | |
remote_user: ${{ secrets.SSH_USERNAME }} | |
remote_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: βοΈ Cloudflare Purge Cache | |
uses: jakejarvis/[email protected] | |
env: | |
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} | |
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} |