Sha256: b6f38868466e00ce439c3f8b34284d4c4f56e6ccb9837b23aefca54c029f44f1
Contents?: true
Size: 1.48 KB
Versions: 1
Compression:
Stored size: 1.48 KB
Contents
name: Build YARD by version on: workflow_dispatch: push: tags: - "v*" jobs: main: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 3.0.2 bundler-cache: true - name: Set up git settings run: | git config --global user.email "actions@github.com" git config --global user.name "GitHub Actions" - name: Clone pages env: SSH_SECRET: ${{ secrets.SSH }} GIT_SSH_COMMAND: ssh -i ~/ssh_secret run: | echo "$SSH_SECRET" > ~/ssh_secret chmod 600 ~/ssh_secret git clone git@github.com:discorb-lib/discorb-lib.github.io /tmp/pages - name: Install dependencies run: | bundle config --local with 'docs development lint' bundle install gem install yard - name: Generate document run: rake document:build_all - name: Push document env: SSH_SECRET: ${{ secrets.SSH }} GIT_SSH_COMMAND: ssh -i ~/ssh_secret run: | echo "$SSH_SECRET" > ~/ssh_secret chmod 600 ~/ssh_secret cp -r ./doc/. /tmp/pages cd /tmp/pages git add -A git commit -m "Update: Update document" git update-ref -d refs/remotes/origin/user git push origin main -f continue-on-error: true
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
discorb-0.20.0 | .github/workflows/build_version.yml |