Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
daknhh committed Oct 24, 2023
1 parent f7719d0 commit b7c676c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ env:
AWS_ACCOUNT: 376263449237
DISTRIBUTION_ID: E2T722RW2UKIMQ
S3_BUCKET: docs.aws-firewall-factory.com
permissions:

permissions:
id-token: write
contents: read
on:
Expand All @@ -15,11 +16,12 @@ on:
- master
- 4.1.4
jobs:
deploy_production_main:
name: Update Documentation
runs-on: ubuntu-latest
deploy_production_main:
name: Test and deploy RegexPatternSets Firewall
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: ⬇️ Checkout
uses: actions/checkout@v3
- name: 🔑 Configure AWS credentials
uses: aws-actions/[email protected]
env:
Expand All @@ -30,11 +32,9 @@ jobs:
role-session-name: GitHubActionsSession
mask-aws-account-id: false
- name: 📦 Install dependencies
run: |
npm install
run: npm install
- name: 📄 Generate Documentation
run: |
npx typedoc --options typedoc.json
run: npx typedoc --options typedoc.json
- name: 🚀 Upload Documentation
run: |
aws s3 sync ./docs s3://${{env.S3_BUCKET}} --delete
Expand Down

0 comments on commit b7c676c

Please sign in to comment.