Add new blog: Efficiently Transferring Sparse Disk Files Over the Net… #37
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: deployBlog | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
publish-blog: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Swift | |
uses: slashmo/[email protected] | |
with: | |
version: 5.5 | |
- name: Build blog | |
run: | | |
swift run | |
- name: Push | |
uses: s0/git-publish-subdir-action@develop | |
env: | |
REPO: self | |
BRANCH: deploy | |
FOLDER: ./Output | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MESSAGE: "Build: ({sha}) {msg}" |