Skip to content

Merge pull request #87 from golemfactory/kek/bump2 #106

Merge pull request #87 from golemfactory/kek/bump2

Merge pull request #87 from golemfactory/kek/bump2 #106

Workflow file for this run

#Location: .github/workflows/custom_config.yml
name: Build and push containers to Github Container Registry and apply rolling update
defaults:
run:
shell: bash -ieo pipefail {0}
on:
push:
branches:
- develop
jobs:
build:
runs-on: deposit-dev
steps:
- name: Where am I
run: pwd
- name: Who am I
run: whoami
- name: checkout
run: |
cd /home/ubuntu/golem/deposit-payment-example
git pull
git submodule update --recursive
- name: install dependencies
run: |
cd /home/ubuntu/golem/deposit-payment-example
/home/ubuntu/.nvm/versions/node/v21.7.3/bin/pnpm install
- name: build
run: |
cd /home/ubuntu/golem/deposit-payment-example
/home/ubuntu/.nvm/versions/node/v21.7.3/bin/pnpm run build:all
env:
VITE_BACKEND_URL: https://deposit.dev.golem.network/api
- name: Restart docker images
run: |
cd /home/ubuntu/golem/deposit-payment-example/deploy
docker-compose build
docker-compose stop backend frontend
docker-compose up -d