Sha256: e500889c6a081215eff3388f8f929bf93a543baa72e9f29445d16a94ffc2028c
Contents?: true
Size: 1.65 KB
Versions: 1
Compression:
Stored size: 1.65 KB
Contents
name: ci on: pull_request_target: workflow_dispatch: inputs: git-ref: description: Git Ref default: master required: true permissions: contents: write pull-requests: write jobs: test: runs-on: ubuntu-20.04-16core env: RAILS_ENV: test RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }} steps: - name: Set up MySQL run: | sudo /etc/init.d/mysql start sudo mysql -uroot -proot -e"ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY '';" - name: Checkout code uses: actions/checkout@v3 with: ref: ${{ github.event.inputs.git-ref }} - name: Install Ruby and gems uses: ruby/setup-ruby@v1 with: bundler-cache: true - name: Setup run: bin/setup - name: Run tests run: bin/ci autodeploy-dependabot-prs: needs: test runs-on: ubuntu-20.04 if: github.actor == 'dependabot[bot]' steps: - name: Merge Dependabot PR run: gh pr merge --auto --rebase "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: bundler-cache: true - name: Install SSH key uses: shimataro/ssh-key-action@v2 with: key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }} known_hosts: unnecessary config: | Host * StrictHostKeyChecking no UserKnownHostsFile=/dev/null - name: deploy run: bundle exec bard deploy --skip-ci
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bard-0.61.0 | install_files/.github/workflows/ci.yml |