Skip to content

Commit f510908

Browse files
committed
Test for quotes
1 parent b930d54 commit f510908

File tree

1 file changed

+1
-42
lines changed

1 file changed

+1
-42
lines changed

.github/workflows/deploy.yml

+1-42
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,9 @@ env:
1616
jobs:
1717
deploy:
1818
runs-on: ubuntu-latest
19-
if: github.repository == 'rust-lang/rust-clippy'
19+
if: github.repository == 'blyxyas/rust-clippy'
2020

2121
steps:
22-
# Setup
23-
- name: Checkout
24-
uses: actions/checkout@v4
25-
with:
26-
# Unsetting this would make so that any malicious package could get our Github Token
27-
persist-credentials: false
28-
29-
- name: Checkout
30-
uses: actions/checkout@v4
31-
with:
32-
ref: ${{ env.TARGET_BRANCH }}
33-
path: 'out'
34-
# Unsetting this would make so that any malicious package could get our Github Token
35-
persist-credentials: false
36-
3722
# Run
3823
- name: Set tag name
3924
if: startswith(github.ref, 'refs/tags/')
@@ -46,29 +31,3 @@ jobs:
4631
- name: Set beta to true
4732
if: github.ref == 'refs/heads/beta'
4833
run: echo "BETA=true" >> $GITHUB_ENV
49-
50-
# We need to check out all files that (transitively) depend on the
51-
# structure of the gh-pages branch, so that we're able to change that
52-
# structure without breaking the deployment.
53-
- name: Use deploy files from master branch
54-
run: |
55-
git fetch --no-tags --prune --depth=1 origin master
56-
git checkout origin/master -- .github/deploy.sh util/versions.py util/gh-pages/versions.html
57-
58-
# Generate lockfile for caching to avoid build problems with cached deps
59-
- name: cargo generate-lockfile
60-
run: cargo generate-lockfile
61-
62-
- name: Cache
63-
uses: Swatinem/rust-cache@v2
64-
with:
65-
save-if: ${{ github.ref == 'refs/heads/master' }}
66-
67-
- name: cargo collect-metadata
68-
run: cargo collect-metadata
69-
70-
- name: Deploy
71-
run: |
72-
eval "$(ssh-agent -s)"
73-
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
74-
bash .github/deploy.sh

0 commit comments

Comments
 (0)