Skip to content

Output azcopy log file contents #186

Output azcopy log file contents

Output azcopy log file contents #186

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
- if: failure()
run: cat /home/runner/.azcopy/*.log
- run: azcopy_v10 copy '${{ secrets.HELP_CONTENT_URL }}/versioned-content/*?${{ secrets.HELP_CONTENT_TOKEN }}' './app/' --recursive
- run: azcopy_v10 copy '${{ secrets.HELP_CONTENT_URL }}/api/*?${{ secrets.HELP_CONTENT_TOKEN }}' './api/'
- 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 }}