Skip to content

Commit

Permalink
Improve deploy with tags
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte committed Jun 7, 2024
1 parent c853aff commit 81d2f97
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-tags: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
Expand All @@ -38,13 +40,6 @@ jobs:
aws_access_key_id = ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key = ${{ secrets.AWS_SECRET_ACCESS_KEY }}
EOF
- name: Write SSH key
run: |
mkdir ~/.ssh
cat >> ~/.ssh/transitmatters-ntt.pem << EOF
${{ secrets.SSH_PRIVATE_KEY }}
EOF
chmod 0600 ~/.ssh/transitmatters-ntt.pem
- name: Run deploy shell script
run: |
curl -sSL https://install.python-poetry.org | python3 -
Expand Down

0 comments on commit 81d2f97

Please sign in to comment.