EDEV-96: FIX featured_article
on RecordArticlePage
(#1615)
#160
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: Continuous deployment to preview | |
on: | |
# workflow_dispatch: | |
push: | |
branches: | |
- develop # TODO: Change to "main" if our working branch changes | |
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 }} # (develop) | |
latest: true | |
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 }} | |
# - name: Deploy to AWS | |
# run: aws ssm put-parameter --profile preview --name "/devops/private-beta/version" --type "String" --value "${{ steps.version-tag.outputs.VERSION }}" --overwrite |