Skip to content

Commit

Permalink
Ci security tweaks (#9012)
Browse files Browse the repository at this point in the history
* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* :[
  • Loading branch information
pngwn authored and freddyaboulton committed Aug 6, 2024
1 parent ad5a358 commit de33f3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/previews-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: list artifacts
run: ls -R .

Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/website-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ concurrency:
group: "${{ github.event.workflow_run.head_repository.full_name }}-${{ github.event.workflow_run.head_branch }}-${{ github.workflow_ref }}"
cancel-in-progress: true

# these variables are not secret and are used to identify the Vercel project
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

jobs:
changes:
name: "changes"
Expand Down Expand Up @@ -67,18 +62,20 @@ jobs:
name: website-json
path: js/_website/lib/json
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/download-artifact@v4
with:
name: website-templates
path: js/_website/lib/templates
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: download website artifacts
uses: actions/download-artifact@v4
with:
name: website
path: js/_website/.vercel
run-id: ${{ github.event.workflow_run.id }}

github-token: ${{ secrets.GITHUB_TOKEN }}
- name: list files
run: ls -R .

Expand Down

0 comments on commit de33f3a

Please sign in to comment.