-
Notifications
You must be signed in to change notification settings - Fork 67
42 lines (37 loc) · 1.17 KB
/
gitpod.yml
File metadata and controls
42 lines (37 loc) · 1.17 KB
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
37
38
39
40
41
42
name: Update gitpod integration repository
on:
# schedule:
# # Every day at 3 am
# - cron: '0 3 * * *'
# Enable manual triggering of this workflow
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'
jobs:
update-gitpod-integration-repo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
repository: 'LukasBreitwieser/gitpod-vnc'
ref: master
- name: Update gitpod.Dockerfile
run: |
sed -i "s/[a-fA-F0-9]\{40\} /$GITHUB_SHA /g" gitpod.Dockerfile
- name: Push new gitpod.Dockerfile
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'gitpod.Dockerfile'
destination_repo: 'LukasBreitwieser/gitpod-vnc'
destination_branch: 'master'
user_email: 'lukas.breitwieser@cern.ch'
user_name: 'Lukas Breitwieser'
commit_message: 'Update BioDynaMo commit id'