resume: update languages #11
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: Build and publish HTML | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
name: Build and publish HTML | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Install docutils | |
run: | | |
sudo apt update | |
sudo apt install -y -qq python3-docutils make | |
- name: Build HTML | |
id: build | |
run: | | |
make | |
echo ::set-output name=commit::$(git rev-parse HEAD) | |
- name: Prepare to commit | |
run: | | |
git fetch | |
git checkout -b html origin/html | |
mv resume.html index.html | |
- name: Commit and push | |
uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions | |
add: index.html | |
message: Publish revision ${{ steps.build.outputs.commit }} |