mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-18 02:40:32 +03:00
fix: publishing docker image to github packages (#2115)
This commit is contained in:
parent
40ebfd2d63
commit
250f6d12b2
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: ./cli
|
context: ./cli
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.prep.outputs.tags }},latest
|
tags: ${{ steps.prep.outputs.tags }}
|
||||||
dockerhub:
|
dockerhub:
|
||||||
name: Publish redoc image to DockerHub
|
name: Publish redoc image to DockerHub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
25
.github/workflows/publish.yml
vendored
25
.github/workflows/publish.yml
vendored
|
@ -45,31 +45,6 @@ jobs:
|
||||||
name: bundles
|
name: bundles
|
||||||
path: bundles
|
path: bundles
|
||||||
- run: npm run e2e
|
- run: npm run e2e
|
||||||
# disable this for now
|
|
||||||
# deploy-demo:
|
|
||||||
# needs: [bundle, unit-tests, e2e-tests]
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v3
|
|
||||||
# - name: Configure AWS Credentials
|
|
||||||
# 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: Install dependencies
|
|
||||||
# run: npm ci
|
|
||||||
# - name: Download bundled artifacts
|
|
||||||
# uses: actions/download-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: bundles
|
|
||||||
# path: bundles
|
|
||||||
# - name: Build package
|
|
||||||
# run: npm run build:demo
|
|
||||||
# - name: Deploy to S3 bucket
|
|
||||||
# run: npm run deploy:demo
|
|
||||||
# - name: Invalidate
|
|
||||||
# run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CF_DEMO_DISTRIBUTION_ID }} --paths "/*"
|
|
||||||
publish:
|
publish:
|
||||||
name: Publish to NPM
|
name: Publish to NPM
|
||||||
needs: [bundle, unit-tests, e2e-tests]
|
needs: [bundle, unit-tests, e2e-tests]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user