diff options
| author | flip1995 <hello@philkrones.com> | 2020-04-23 20:44:18 +0200 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2020-04-23 21:14:35 +0200 |
| commit | 35ef280b5586264a1c9f6cdaec836d2e9945d60f (patch) | |
| tree | 56b566f7eb8587f985afa407239bace0b6717e14 | |
| parent | a609a9eb790104ff5e840b1846064c61b2d63496 (diff) | |
| download | rust-35ef280b5586264a1c9f6cdaec836d2e9945d60f.tar.gz rust-35ef280b5586264a1c9f6cdaec836d2e9945d60f.zip | |
Always use the deploy script and templates of the master branch
| -rw-r--r-- | .github/workflows/deploy.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 10033daf0ae..f542f9b02c1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,6 +38,12 @@ jobs: - name: Set beta to true if: github.ref == 'refs/heads/beta' run: echo "::set-env name=BETA::true" + + - name: Use scripts and templates from master branch + run: | + git fetch --no-tags --prune --depth=1 origin master + git checkout origin/master -- .github/deploy.sh util/gh-pages/ util/*.py + - name: Deploy run: | eval "$(ssh-agent -s)" |
