mirror of
https://github.com/ivabus/www
synced 2024-11-10 06:35:16 +03:00
uncomment disabled pipeline tasks
This commit is contained in:
parent
b2a0987322
commit
b14798f17b
15
.github/workflows/cd.yml
vendored
15
.github/workflows/cd.yml
vendored
|
@ -39,6 +39,21 @@ jobs:
|
|||
with:
|
||||
cmd: '.github/build-package-pages.sh src/data/packages.json src/content/packages'
|
||||
|
||||
- name: Download package thumbnails from Airtable
|
||||
uses: getneil/jq-action@v1
|
||||
with:
|
||||
cmd: '.github/prepare-thumb-images.sh src/data/packages.json'
|
||||
|
||||
- name: Upload package thumbnails to AWS S3
|
||||
uses: jakejarvis/s3-sync-action@master
|
||||
env:
|
||||
AWS_S3_BUCKET: www.tea.xyz
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
AWS_REGION: 'us-east-1'
|
||||
SOURCE_DIR: 'packages_thumbs_images'
|
||||
DEST_DIR: 'Images/packages'
|
||||
|
||||
- run: .github/mk-pantry-accessible.sh ${{ secrets.TEMP_JACOBS_GITHUB_PAT }}
|
||||
- uses: teaxyz/setup@v0
|
||||
with:
|
||||
|
|
70
.github/workflows/staging.yml
vendored
70
.github/workflows/staging.yml
vendored
|
@ -107,44 +107,44 @@ jobs:
|
|||
SOURCE_DIR: 'packages_thumbs_images'
|
||||
DEST_DIR: 'Images/packages'
|
||||
|
||||
# - run: .github/mk-pantry-accessible.sh ${{ secrets.TEMP_JACOBS_GITHUB_PAT }}
|
||||
- run: .github/mk-pantry-accessible.sh ${{ secrets.TEMP_JACOBS_GITHUB_PAT }}
|
||||
|
||||
# - uses: teaxyz/setup@v0
|
||||
# with:
|
||||
# target: build
|
||||
- uses: teaxyz/setup@v0
|
||||
with:
|
||||
target: build
|
||||
|
||||
# - name: Check for broken links
|
||||
# uses: lycheeverse/lychee-action@v1
|
||||
# with:
|
||||
# fail: true
|
||||
# args: --verbose --no-progress './public/**/*.md' './public/**/*.html'
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
- name: Check for broken links
|
||||
uses: lycheeverse/lychee-action@v1
|
||||
with:
|
||||
fail: true
|
||||
args: --verbose --no-progress './public/**/*.md' './public/**/*.html'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
# - uses: actions/setup-node@v3
|
||||
# with:
|
||||
# node-version: 14
|
||||
# - uses: bahmutov/npm-install@v1
|
||||
# with:
|
||||
# working-directory: .cdk
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 14
|
||||
- uses: bahmutov/npm-install@v1
|
||||
with:
|
||||
working-directory: .cdk
|
||||
|
||||
# - uses: aws-actions/configure-aws-credentials@v1
|
||||
# with:
|
||||
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
# aws-region: us-east-1
|
||||
- uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: us-east-1
|
||||
|
||||
# - name: Deploy to AWS
|
||||
# id: cdk_deploy
|
||||
# run: yarn deploy
|
||||
# working-directory: .cdk
|
||||
- name: Deploy to AWS
|
||||
id: cdk_deploy
|
||||
run: yarn deploy
|
||||
working-directory: .cdk
|
||||
|
||||
# - name: Seal Deployment
|
||||
# uses: bobheadxi/deployments@v1
|
||||
# if: always()
|
||||
# with:
|
||||
# step: finish
|
||||
# status: ${{ job.status }}
|
||||
# deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
||||
# env: ${{ env.STAGE }}
|
||||
# env_url: ${{ steps.cdk_deploy.outputs.env_url }}
|
||||
- name: Seal Deployment
|
||||
uses: bobheadxi/deployments@v1
|
||||
if: always()
|
||||
with:
|
||||
step: finish
|
||||
status: ${{ job.status }}
|
||||
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
||||
env: ${{ env.STAGE }}
|
||||
env_url: ${{ steps.cdk_deploy.outputs.env_url }}
|
||||
|
|
Loading…
Reference in a new issue