Skip to content

fix:#351 Clean up

fix:#351 Clean up #897

Workflow file for this run

name: "Push code to AWS CodeCommit"
on:
push:
branches: ['**']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- shell: bash
env:
CODE_COMMIT_REPO: ${{ secrets.CODE_COMMIT_REPO }}
if: env.CODE_COMMIT_REPO != ''
run: |
git remote add codecommit "$CODE_COMMIT_REPO"
git push -u codecommit ${GITHUB_REF#refs/heads/} --force
git push codecommit --tags