Deploy feature branch #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy feature branch | |
on: | |
workflow_dispatch: | |
# push: | |
# branches: | |
# - feature/* | |
jobs: | |
deploy: | |
name: Deploy to AWS | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get tag | |
id: version-tag | |
uses: ./.github/actions/get-version-tag | |
- name: Build Docker image | |
uses: ./.github/actions/docker-build | |
with: | |
version: ${{ steps.version-tag.outputs.version-tag }} # (feature/abc) | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
docker-image-name: ${{ vars.DOCKER_IMAGE_NAME }} | |
# - name: Install AWS CLI | |
# uses: ./.github/actions/install-aws | |
# with: | |
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
# TODO: Deploy new feature environment |