We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 769d0ad commit b0a23fbCopy full SHA for b0a23fb
.github/workflows/main.yml
@@ -0,0 +1,25 @@
1
+name: CI
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+ pull_request:
7
+
8
+jobs:
9
+ ci:
10
+ name: CI
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@master
14
+ with:
15
+ fetch-depth: 50
16
+ - name: Build Blog
17
+ run: cargo run
18
+ - name: Deploy to GitHub Pages
19
+ run: |
20
+ cp CNAME ./site/
21
+ curl -LsSf https://raw.githubusercontent.com/rust-lang/simpleinfra/master/setup-deploy-keys/src/deploy.rs | rustc - -o /tmp/deploy
22
+ (cd site/ && /tmp/deploy)
23
+ env:
24
+ GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}
25
+ if: github.ref == 'refs/heads/master'
.travis.yml
deploy.sh
0 commit comments