mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-05 17:48:54 +00:00
Finish migration to GitHub Actions (#4836)
* Fix 'if' condition syntax in Actions workflow Strings in expressions need to be in single quotes: https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#literals * Delete .travis.yml We moved to GitHub Actions * Inline git-related environment variables * Inline the build number variable * Rename TRAVIS_BRANCH to TW5_BUILD_BRANCH Since we don't use Travis anymore * Update developer documentation regardgin which CI service is used * Document the decision about setting env vars in the workflow file
This commit is contained in:
+3
-3
@@ -5,13 +5,13 @@
|
||||
|
||||
cd output || exit 1
|
||||
|
||||
git config --global user.email "${COMMIT_EMAIL:-travis@travis-ci.org}" || exit 1
|
||||
git config --global user.email "actions@github.com" || exit 1
|
||||
|
||||
git config --global user.name "${COMMIT_NAME:-Travis CI}" || exit 1
|
||||
git config --global user.name "GitHub Actions" || exit 1
|
||||
|
||||
git add -A . || exit 1
|
||||
|
||||
git commit --message "${COMMIT_CONTEXT:-Travis build}: $TRAVIS_BUILD_NUMBER of $TRAVIS_BRANCH ($(date +'%F %T %Z'))" || exit 1
|
||||
git commit --message "GitHub build: $GITHUB_RUN_NUMBER of $TW5_BUILD_BRANCH ($(date +'%F %T %Z'))" || exit 1
|
||||
|
||||
git remote add deploy "https://$GH_TOKEN@github.com/Jermolene/jermolene.github.io.git" &>/dev/null || exit 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user