Skip to content

Commit

Permalink
Fix repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
Kareem Zidane committed Jul 29, 2021
1 parent 7c0c124 commit d4ed12a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
- name: Deploy
if: ${{ github.ref == 'refs/heads/main' }}
run: |
PACKAGE_CLOUD_USER="cs50"
PACKAGECLOUD_REPO="cs50/repo"
# Deploy deb to ubuntu repos
UBUNTU_REPOS=( xenial yakkety zesty artful bionic disco eoan focal groovy )
for repo in "${UBUNTU_REPOS[@]}"; do
package_cloud push "$PACKAGE_CLOUD_USER"/ubuntu/"$repo" build/deb/*.deb
package_cloud push "$PACKAGECLOUD_REPO"/ubuntu/"$repo" build/deb/*.deb
done
# Deploy rpm to fedora repos
for repo in $(seq 29 32); do
package_cloud push "$PACKAGE_CLOUD_USER"/fedora/"$repo" build/rpm/*.rpm
package_cloud push "$PACKAGECLOUD_REPO"/fedora/"$repo" build/rpm/*.rpm
done
env:
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}

0 comments on commit d4ed12a

Please sign in to comment.