Skip to content

Commit

Permalink
Ppe to main (#82)
Browse files Browse the repository at this point in the history
* Initial static website

* Add deploy steps for website

* Oap website update (#80)

* Initial static website

* Add deploy steps for website

* Add deploy action

* reference dockerfile in correct dir

* reference correct branch in deploy
  • Loading branch information
scottcha authored Nov 21, 2023
1 parent a21ad37 commit 5e9f3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
port: ${{ secrets.SSH_PORT}}
script: |
echo "${{ secrets.GHCR_TOKEN}}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
if [ ${{ github.ref }} = 'refs/heads/main' ]
if [ ${{ github.ref }} = 'refs/heads/master' ]
then
docker stop oap_website_prod || true
docker rm oap_website_prod || true
Expand Down

0 comments on commit 5e9f3fc

Please sign in to comment.