File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 55
55
run : |
56
56
echo "${WEB_CONFIG_JSON}" > ./etc/config.phoenix.json
57
57
58
+ - name : Create Version file
59
+ run : |
60
+ # Version identifier
61
+ echo "$(git describe --always --tags)" > ./etc/.rsync-version
62
+ # Version hash
63
+ echo "$(git rev-parse HEAD)" >> ./etc/.rsync-version
64
+ # Version ISO8601 timestamp
65
+ echo "$(git log -n 1 --pretty='%aI' HEAD)" >> ./etc/.rsync-version
66
+ # LICENSE version and ISO8601 timestamp
67
+ echo -n "$(git log -n 1 --pretty='%h %aI' ./LICENSE.txt)" >> ./etc/.rsync-version
68
+
58
69
- name : Compress Artifacts
59
- run : zip -r ${{ env.CLEAN_BRANCH_NAME }}.zip .
70
+ run : zip -r ${{ env.CLEAN_BRANCH_NAME }}.zip . -x@etc/deploy-ignore.txt
60
71
61
72
- name : Deploy to Remote
62
73
env :
You can’t perform that action at this time.
0 commit comments