Skip to content

Commit

Permalink
ci: bump action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chapb committed Jun 28, 2024
1 parent 1c60488 commit dcf87da
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/deploy_cedar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
steps:

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

Expand All @@ -47,7 +47,7 @@ jobs:
source venv/bin/activate
- name: Set up dependency caching for faster installs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
run: zip release.zip ./* -r -x 'venv/*'

- name: Upload zip
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-app
path: release.zip
Expand All @@ -94,7 +94,7 @@ jobs:
steps:

- name: Download zip
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-app

Expand All @@ -108,5 +108,10 @@ jobs:
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_1F0514CD2DDF442FB732476812B025B8 }}
package: release.zip

# A startup command can be specified here (e.g., to complete database
# migrations). However, we already use a startup script to configure
# gunicorn on Azure. Additional startup commands are specified there.
# Unclear precedence|replacement with startup script.

# We could also use 'startup-command:' here, rather than specifying startup.txt as a command in Azure App Services.
# startup-command:

0 comments on commit dcf87da

Please sign in to comment.