on: push: tags: - v* jobs: push-to-remote: # We want to use the macos runner provided by github actions. This requires to push to a remote first. # After the push we can use the action under .github/actions/ to deploy properly using fastlane on macos. runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Push to github remote uses: https://github.com/actions/cpina/github-action-push-to-another-repository@main env: API_TOKEN_GITHUB: ${{ secrets.PUSH_GITHUB_API_TOKEN }} with: source-directory: 'frontend' destination-github-username: 'moll-re' destination-repository-name: 'anyway-frontend-builder' user-email: me@moll.re target-branch: main