forked from elanthia-online/dr-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (35 loc) · 944 Bytes
/
publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Publish Updates
on:
push:
branches:
- 'main'
paths:
- 'dependency.lic'
- 'noop.lic'
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.3']
name: Publish Updates
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '20'
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install ruby gem dependencies with bundler
run: |
gem install bundler
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Release updates to Tillmen's Lich repository
env:
AUTHOR: ${{ secrets.repo_author }}
PASSWORD: ${{ secrets.repo_password }}
TRAVIS_COMMIT: ${{ github.sha }}
TRAVIS_COMMIT_RANGE: ${{ github.event.before }}..${{ github.sha }}
run: bin/repo