Skip to content

Merge pull request #24 from bcam1/landing-page-nov-24 #194

Merge pull request #24 from bcam1/landing-page-nov-24

Merge pull request #24 from bcam1/landing-page-nov-24 #194

Workflow file for this run

name: deploy
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: kheiakiyama/install-azcopy-action@v1
with:
version: 'v10'
- run: azcopy_v10 copy '${{ secrets.HELP_CONTENT_URL }}/content/smatechnologies/?${{ secrets.HELP_CONTENT_TOKEN }}' './content/' --recursive
continue-on-error: true
- run: azcopy_v10 copy '${{ secrets.HELP_CONTENT_URL }}/content/smatechnologies/?${{ secrets.HELP_CONTENT_TOKEN }}' './content/' --recursive --overwrite=false
continue-on-error: false
- run: azcopy_v10 copy '${{ secrets.HELP_CONTENT_URL }}/versioned-content/*?${{ secrets.HELP_CONTENT_TOKEN }}' './app/' --recursive
continue-on-error: true
- run: azcopy_v10 copy '${{ secrets.HELP_CONTENT_URL }}/versioned-content/*?${{ secrets.HELP_CONTENT_TOKEN }}' './app/' --recursive --overwrite=false
continue-on-error: false
- run: azcopy_v10 copy '${{ secrets.HELP_CONTENT_URL }}/api/*?${{ secrets.HELP_CONTENT_TOKEN }}' './api/'
continue-on-error: true
- run: azcopy_v10 copy '${{ secrets.HELP_CONTENT_URL }}/api/*?${{ secrets.HELP_CONTENT_TOKEN }}' './api/' --overwrite=false
continue-on-error: false
- run: tree
- uses: docker/login-action@v2
with:
registry: ${{ secrets.DOCKER_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- uses: docker/setup-buildx-action@v2
- uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKER_TAG }}