Skip to content

Commit

Permalink
Update personal-site-update for release
Browse files Browse the repository at this point in the history
  • Loading branch information
kasuboski committed Aug 18, 2020
1 parent b3f7710 commit 890e409
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/personal-site-update.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
name: personal-site-update

on:
push:
branches:
- master
paths:
- current.html
release:
types: [released]

jobs:
copy-to-personal-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dsaltares/fetch-gh-release-asset@master
with:
path: resume
repo: ${{ github.repository }}
version: ${{ github.ref }}
file: |
resume.html
resume.pdf
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2
with:
repository: kasuboski/personal-site
path: personal-site
- name: Copy HTML to personal-site
- name: Copy files to personal-site
run: |
cp resume/current.html personal-site/static/resume.html
cp resume.html personal-site/static/resume.html
cp resume.pdf personal-site/static/resume.pdf
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.personal_site_key }}
Expand Down

0 comments on commit 890e409

Please sign in to comment.