-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to Middleman 4, CocoaPods 1.11.0.beta.2 and GH actions.
- Loading branch information
Showing
10 changed files
with
140 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,39 @@ | ||
name: Deploy | ||
|
||
jobs: | ||
specs: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04] | ||
ruby: [2.6] | ||
|
||
name: ${{ matrix.os }} / Ruby ${{ matrix.ruby }} | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout git | ||
uses: actions/checkout@v1 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
if: ${{ matrix.ruby != 'system' }} | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
|
||
- name: Update git submodules | ||
run: git submodule update --init | ||
|
||
- name: Run bundle install | ||
run: | | ||
bundle config path vendor/bundle | ||
bundle install --jobs 4 --retry 3 --without debugging documentation | ||
- name: Deploy | ||
run: | | ||
git remote set-url origin "https://${GH_TOKEN}@github.com/CocoaPods/guides.cocoapods.org.git" | ||
bundle exec rake deploy | ||
on: | ||
push: | ||
branches: | ||
- "master" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.