Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
use packeto built image
Browse files Browse the repository at this point in the history
  • Loading branch information
gidsg committed Nov 6, 2023
1 parent 1e14738 commit c7c6685
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,6 @@ jobs:
- name: Git clone the repository
uses: actions/checkout@v3

- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: pip # caching pip dependencies

- name: Build static assets
run: |
pip install -r requirements_dev.txt
python3 build.py
- name: Get current date
id: currentdatetime
run: echo "::set-output name=datetime::$(date +'%Y%m%d%H%M%S')"
Expand All @@ -67,6 +56,7 @@ jobs:
yq -i '.variables.GITHUB_SHA = "${{ github.sha }}"' copilot/submit/manifest.yml
yq -i '.http.alias = "${{ vars.ALIAS }}"' copilot/submit/manifest.yml
yq -i '.variables.FLASK_ENV = "${{ inputs.environment || 'test' }}"' copilot/submit/manifest.yml
yq -i '.image.location = "ghcr.io/communitiesuk/${{ github.event.repository.name }}:${{ github.ref_name == 'main' && 'latest' || github.ref_name }}"' copilot/submit/manifest.yml
- name: Copilot deploy
run: |
Expand Down

0 comments on commit c7c6685

Please sign in to comment.