forked from ledwindra/continuous-integration-stata
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 982 Bytes
/
test.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
name: Test CI Stata
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Stata Action
id: ci-stata
uses: labordynamicsinstitute/continuous-integration-stata@v0.1
with:
program: test/run.do
version: ${{ secrets.STATA_VERSION }}
serial-number: ${{ secrets.STATA_SERIALNUMBER }}
code: ${{ secrets.STATA_CODE }}
authorization: ${{ secrets.STATA_AUTH }}
name: ${{ secrets.STATA_NAME }}
institution: ${{ secrets.STATA_INSTITUTION }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
user_name: 'Github Action Bot'
user_email: lars.vilhuber@cornell.edu
publish_branch: testing
keep_files: true
commit_message: ${{ github.event.head_commit.message }}