Continue migrating base cards #1197
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push to innovationdev | |
on: | |
push: | |
branches: | |
- 'main-4' | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout codebase | |
uses: actions/checkout@v2 | |
with: | |
path: './innovation' | |
- name: Setup PHP | |
id: setup-php | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1:' | |
- name: Rename innovation to innovationdev | |
run: php innovation/misc/bgaprojectrename.php innovation innovationdev | |
- name: Delete files that we do not want to upload | |
run: cd innovationdev && rm -rf .vscode .git .github .DS_Store misc node_modules package-lock.json vendor composer.json composer.lock phpunit.xml tests && cd .. | |
- name: Push to BGA | |
uses: wlixcc/[email protected] | |
with: | |
username: ${{ secrets.BGA_USERNAME }} | |
server: '1.studio.boardgamearena.com' | |
port: 2022 | |
password: ${{ secrets.BGA_PASSWORD }} | |
local_path: './innovationdev' | |
remote_path: '.' | |
sftp_only: true |