You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: TRANSLATING.md
+5-14
Original file line number
Diff line number
Diff line change
@@ -72,22 +72,13 @@ On https://git-scm.com, the translations are divided into three categories. Once
72
72
| Partial translations available in | up to chapter 6 has been translated. |
73
73
| Full translation available in |the book is (almost) fully translated. |
74
74
75
-
## Continuous integration with Travis CI
75
+
## Continuous integration with GitHub Actions
76
76
77
-
Travis CI is a [continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) service that integrates with GitHub. Travis CI is used to ensure that a pull-request doesn't break the build or compilation. Travis CI can also provide compiled versions of the book.
77
+
GitHub Actions is a [continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) service that integrates with GitHub. GitHub Actions is used to ensure that a pull-request doesn't break the build or compilation. GitHub Actions can also provide compiled versions of the book.
78
78
79
-
Setting up Travis CI requires administrative control over the repository.
80
-
81
-
### Registering for Travis continuous integration
82
-
83
-
1. Register a Travis account [here](https://travis-ci.org/).
84
-
1. Register your project in Travis.
85
-
Please refer to the [Travis documentation](https://docs.travis-ci.com/) for more information.
86
-
87
-
### Setting up your repository for continuous integration
88
-
89
-
Travis CI works by scanning your project's root directory for a file named `.travis.yml` and following the 'recipe' that it contains. The good news is: there's already a working `.travis.yml` file in the Pro Git 2 source [here](https://raw.githubusercontent.com/progit/progit2-pub/master/travis.yml).
90
-
Copy that file, and put it in your working directory. Commit the .yml file and push it to your translation repository; that should fire up a compilation and a check of the book's contents.
79
+
The configuration for GitHub Actions is contained in the `.github/workflows` directory, and if you bring in the `master` branch of the root repository you'll get them for free.
80
+
However, if you created your translation repo by _forking_ the root repo, there's an extra step you must complete (if you did not fork, you can skip this part).
81
+
GitHub assumes that forks will be used to contribute to the repo from which they were forked, so you'll have to visit the "Actions" tab on your forked repo, and click the "I understand my workflows" button to allow the actions to run.
0 commit comments