diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index efb061f..e77f2a7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,13 +1,13 @@ name: deploy on: push: - branches: [ "omniflix-mainnet" ] + branches: [ "namada-mainnet" ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: env: - DEPLOY_DIR: /var/www/insync-omniflix + DEPLOY_DIR: /var/www/insync-namada @@ -33,8 +33,8 @@ jobs: mkdir -p "$HOME/$GITHUB_REPOSITORY" git clone https://github.com/$GITHUB_REPOSITORY "$HOME/$GITHUB_REPOSITORY" cd "$HOME/$GITHUB_REPOSITORY" - git checkout omniflix-mainnet && - git pull origin omniflix-mainnet && + git checkout namada-mainnet && + git pull origin namada-mainnet && yarn && yarn build && sudo rm -rf "${DEPLOY_DIR}" &&