mirror of
https://github.com/ivabus/www
synced 2024-11-10 06:45: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:
|
with:
|
||||||
cmd: '.github/build-package-pages.sh src/data/packages.json src/content/packages'
|
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 }}
|
- run: .github/mk-pantry-accessible.sh ${{ secrets.TEMP_JACOBS_GITHUB_PAT }}
|
||||||
- uses: teaxyz/setup@v0
|
- uses: teaxyz/setup@v0
|
||||||
with:
|
with:
|
||||||
|
|
70
.github/workflows/staging.yml
vendored
70
.github/workflows/staging.yml
vendored
|
@ -107,44 +107,44 @@ jobs:
|
||||||
SOURCE_DIR: 'packages_thumbs_images'
|
SOURCE_DIR: 'packages_thumbs_images'
|
||||||
DEST_DIR: 'Images/packages'
|
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
|
- uses: teaxyz/setup@v0
|
||||||
# with:
|
with:
|
||||||
# target: build
|
target: build
|
||||||
|
|
||||||
# - name: Check for broken links
|
- name: Check for broken links
|
||||||
# uses: lycheeverse/lychee-action@v1
|
uses: lycheeverse/lychee-action@v1
|
||||||
# with:
|
with:
|
||||||
# fail: true
|
fail: true
|
||||||
# args: --verbose --no-progress './public/**/*.md' './public/**/*.html'
|
args: --verbose --no-progress './public/**/*.md' './public/**/*.html'
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
||||||
# - uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
# with:
|
with:
|
||||||
# node-version: 14
|
node-version: 14
|
||||||
# - uses: bahmutov/npm-install@v1
|
- uses: bahmutov/npm-install@v1
|
||||||
# with:
|
with:
|
||||||
# working-directory: .cdk
|
working-directory: .cdk
|
||||||
|
|
||||||
# - uses: aws-actions/configure-aws-credentials@v1
|
- uses: aws-actions/configure-aws-credentials@v1
|
||||||
# with:
|
with:
|
||||||
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
# aws-region: us-east-1
|
aws-region: us-east-1
|
||||||
|
|
||||||
# - name: Deploy to AWS
|
- name: Deploy to AWS
|
||||||
# id: cdk_deploy
|
id: cdk_deploy
|
||||||
# run: yarn deploy
|
run: yarn deploy
|
||||||
# working-directory: .cdk
|
working-directory: .cdk
|
||||||
|
|
||||||
# - name: Seal Deployment
|
- name: Seal Deployment
|
||||||
# uses: bobheadxi/deployments@v1
|
uses: bobheadxi/deployments@v1
|
||||||
# if: always()
|
if: always()
|
||||||
# with:
|
with:
|
||||||
# step: finish
|
step: finish
|
||||||
# status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
# deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
||||||
# env: ${{ env.STAGE }}
|
env: ${{ env.STAGE }}
|
||||||
# env_url: ${{ steps.cdk_deploy.outputs.env_url }}
|
env_url: ${{ steps.cdk_deploy.outputs.env_url }}
|
||||||
|
|
Loading…
Reference in a new issue