Skip to content

Continue migrating base cards #1197

Continue migrating base cards

Continue migrating base cards #1197

Workflow file for this run

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